def METHOD_NAME(path,logger):
    deps_file = None
    dependency_list = list()
    for f in file_list:
        deps_file = find(f, path)
        if not deps_file:
            continue
        file_handle= open(deps_file)
        if f == 'Requirement.txt':
            dependency_list = parse_requirement_txt(file_handle)
        elif f == 'requirements.txt':
            dependency_list = parse_requirement_txt(file_handle)
        elif f == 'setup.py':
            dependency_list = parse_setup_py(file_handle)
        elif f == 'Pipfile':
            dependency_list = parse_pipfile(file_handle)
        elif f == 'Pipfile.lock':
            dependency_list = parse_pipfile_lock(file_handle)
        elif f == 'pyproject.toml':
            dependency_list = parse_poetry(file_handle)
        elif f == 'poetry.lock':
            dependency_list = parse_poetry_lock(file_handle)
        elif f == 'environment.yml':
            dependency_list = parse_conda(file_handle)
        elif f == 'environment.yaml':
            dependency_list = parse_conda(file_handle)
        elif f == 'environment.yml.lock':
            dependency_list = parse_conda(file_handle)
        elif f == 'environment.yaml.lock':
            dependency_list = parse_conda(file_handle) 
        elif f == 'package.json':
            try:
                dependency_list = parse_package_json(file_handle)
            except KeyError as e:
                logger.error(f"package.json for repo at path {path} is missing required key: {e}\n Skipping file...")
        return dependency_list