protected static File createTemporaryFile(@Nonnull final File file){
  Check.notNull(file,"file");
  final File tempFile=new File(file.getParent(),file.getName() + ".temp");
  deleteFile(tempFile);
  return tempFile;
}

protected static File createTemporaryFile ( @ Nonnull final File file ) { Check . notNull ( file , "file" ) ; final File tempFile = new File ( file . getParent ( ) , file . getName ( ) + ".temp" ) ; deleteFile ( tempFile ) ; return tempFile ; }
creates a temporary file near the passed file . the name of the given one will be used and the suffix " . temp " will be added .
