adding filetype detect for files with no extension