new map from file implementation