fixed file viewing
Merge pull request #2 from Cezes/master

fixed file viewing