halfway working HTML views, added support for files