[BUGFIX] File.typeKey was wrong for some files