Supply filetype when adding new file