Removed get_map and get_array
Added more type safety to file loading