register and unregister fileystem