Unnecessary additional variable. Perhaps ```get_tag_values``` should take data_file as an argument.