restructuring the file a bit, adding field_size hashmap