fixed #34 add the map to file option
Merge branch 'feature/34_add_map_to_file_option' into dev