question: private static boolean isSubFormat ( String filename ) { for ( String ext : SUB_EXTENSIONS ) { if ( filename . contains ( "." + ext ) ) { return true ; } } return false ; }
target:  Test if file is subtitle format