code: protected static File createTemporaryFile(@Nonnull final File file) {
  		Check.notNull(file, "file");
  
  		final File tempFile = new File(file.getParent(), file.getName() + ".temp");
  
  		// remove orphaned temporary file
  		deleteFile(tempFile);
  
  		return tempFile;
  	}
docs: Creates a temporary file near the passed file. The name of the given one will be used and the suffix ".temp" will
  be added.
  
  @param file
  file in which the entire contents from the given URL can be saved
  @throws IllegalStateException
  if the file can not be deleted