private void fillContent(String fill) throws IOException {
      file.write(0, buffer(fill));
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java