Returning correct filetype