def METHOD_NAME(base_url, inspire_id):
    filename = 'HEPData-ins{0}-v1.zip'.format(inspire_id)
    print(f'Looking for file {filename} in {app.config["CFG_TMPDIR"]}')
    expected_file_name = os.path.join(app.config["CFG_TMPDIR"], filename)
    if os.path.exists(expected_file_name):
        print("Using existing file at %s" % expected_file_name)
        return expected_file_name
    else:
        print("Reverting to normal _download_file method")
        return _download_file(base_url, inspire_id)