def get_dparse2_supported_file_name(file_name):
    """
    Return the file_name if this is supported or None given a `file_name`
    string.
    """
    # this is kludgy but the upstream data structure and API needs this
    dfile_names = (
        'Pipfile.lock',
        'Pipfile',
        'conda.yml',
        'setup.cfg',
    )

    for dfile_name in dfile_names:
        if file_name.endswith(dfile_name):
            return file_name