working http file adaptor