question: public static String transformFilename ( String fileName ) { if ( ! fileName . endsWith ( ".fb" ) ) { fileName = fileName + ".fb" ; } return fileName ; }
target:  Transform a user-entered filename into a proper filename, by adding the ".fb" file extension if it isn't already present.