Added option to use a map file instead of looking for file on disk