added support for static file loading