Parsing map from file