Datastore file management