added static file handling