read_data_file function

Read a data file based on metadata and codes dictionary