public static File createTempFile(final String ext) throws IOException {
  final File file=File.createTempFile("fs-","." + ext);
  return file;
}

public static File createTempFile ( final String ext ) throws IOException { final File file = File . createTempFile ( "fs-" , "." + ext ) ; return file ; }
creates the temp file .
