Read and write files under a directory over HTTP