Added code to read map from file