def find_file(self, filename):
        if not os.path.splitext(filename)[1]:
            # file has no extension

            for extension in self.file_types:
                if os.path.isfile(filename + extension):
                    return os.path.abspath(filename + extension), extension
            else:
                return False, None
        else:
            return filename, os.path.splitext(filename)[1]
(Soft) delete this instance, unless permanent=True.
dataset/ETHPy150Open missionpinball/mpf/mpf/system/file_manager.py/FileInterface.find_file--crossover with--dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtmodel.py/MTModel.delete