how can I replace the content of the file referenced by fileId with a new content in java.io.File newFileContent. The following function update the content of the file with an empty content
public static void updateDriveFile(Drive service, java.io.File newFileContent, String fileId) {
com.google.api.services.drive.model.File emptyContent = new File();
emptyContent.setTrashed(true);
service.files().update(fileId, emptyContent).execute();
}