added support for css and js files