wrong filetype handling