writing FileStorage implementation.