pass FileSource* to Map constructor