fixed file viewing