Replaced the clunky QFM.isXXX methods with a `getFileStatus` method.