private File createTempFilename ( File permanentFile , File journalDirectory ) { String tempFilename = "_" + permanentFile . getName ( ) ; File file2 = new File ( journalDirectory , tempFilename ) ; return file2 ; }
The temporary filename is the permanent name preceded by an underscore .