file viewing now works along with auto-publish and better snapshot handling