prompt for filetype if type was not specified and &filetype is not set