StaticMiddleware refactoring + Content-Length, Last-Modified from the file info.