def get_parsed_data(fn, *args, **kwargs):
file_format = detect_format(fn, *args, **kwargs)<EOL>data = get_header(fn, file_format, *args, **kwargs)<EOL>parsed_data = parse_header(data, *args, **kwargs)<EOL>return parsed_data<EOL>
All above functions as a single function

    :param str fn: file name
    :return list parsed_data: structured metadata