Why can't the map_filemode raise directly?