updates and improvements to file viewer for directories and file viewing through the web