Added the ability to preview files, removed refresh button on main page