diff --git a/file_checker.module b/file_checker.module
index 9c12a8a..7d4334d 100644
--- a/file_checker.module
+++ b/file_checker.module
@@ -63,7 +63,7 @@ function file_checker_verify_range($from, $count, $total, &$context) {
     ->condition('count', 0, '>')
     ->range($from, $count)
     ->execute();
-dvm('checking records ' . ($from+1) . '-'.($from+$count). '. Found ' . count($result) . ' records.');
+
   foreach ($result as $data) {
     // Temporary files (those marked with status = 0) older than the maximum temp age
     // were, or will be, removed during a cron run.
@@ -93,16 +93,14 @@ function file_checker_verify($file) {
   //$path = file_create_path($file->filepath); // determine file path
   $path = file_stream_wrapper_uri_normalize($file->uri);
   // check if file can be accessed
-  if (!file_exists($path) || !is_readable($path) || !is_writable($path)) {
+  if (!file_exists($path) || !is_readable($path)) {
     $file->status |= FILE_STATUS_MISSING;
-    $file = file_save($file);
-//dvm('flag as missing: (' .$file->status. ') ' . $path);
+    drupal_write_record('file_managed', $file, 'fid');
   }
   // if files are falsely marked as missing, revert the status back
   elseif (($file->status & FILE_STATUS_MISSING) == FILE_STATUS_MISSING) {
     $file->status &= ~FILE_STATUS_MISSING;
-    $file = file_save($file);
-//dvm('falsely marked as missing: ('. $file->fid . ','. $file->status. ') ' . $path);
+    drupal_write_record('file_managed', $file, 'fid');
   }
 }
 
