fs and path are both required only in the persistence module