Fixed to loading of files in maptools