same as above, why not raise in map_filemode