static file handler implementation