void doSetDataFromFile(File file) throws IOException {
    try (InputStream input = new BufferedInputStream(new FileInputStream(file))) {
      myFile.getOutputStream().putNextEntryContent(this, input);
      assert getSize() == file.length();
    }
  }
void doSetDataFromFile(File file)