docs: def _get_schema_file(extension, path):
          """
          Returns the schema file
          :param extension: extension of the schema file usually .schema
          :param path: path to the folder containing the schema file
          :return: the path to the schema file
          """
          for file in os.listdir(path):
              if file.endswith(extension):
                  return os.path.join(path, file)