wrote custom file server