optional load of resource map from file