question: public static boolean logFileZipped ( String file ) { return file . endsWith ( ".bz2" ) || file . endsWith ( ".gz" ) || file . endsWith ( ".xz" ) ; }
target:  Check for a compressed file extension - for now, .bz2, .xz and .gz