db changes
added file viewing