moving static resources into static file