FileStore - add a destroy method to unregister it and free all opened resources