Implemented file parsing and map creation.