@classmethod
def _file_type(cls, path):
    """Returns the FileType enum value based only on the file suffix."""
    for ctype, ftype, suff in cls.SUFFIXES:
        if path.lower().endswith(suff):
            base = path[:-len(suff)]
            return base, ctype, ftype
    return path, cls.Types.NONE, cls.Types.NORMAL
