@staticmethod
    def get_file_interface(filename):
        file = FileManager.locate_file(filename)
        ext = os.path.splitext(filename)[1]

        if file:
            try:
                return FileManager.file_interfaces[ext]
            except __HOLE__:
                return None
dataset/ETHPy150Open missionpinball/mpf/mpf/system/file_manager.py/FileManager.get_file_interface