String getFileName( String filePath ) { int index = filePath.lastIndexOf( '/' ); return filePath.substring( index + 1 ); }