Bugfix in upgrade step - forgot to append filetype