add preliminary fetch_data_file(); mallocate better