Unregister from all file at init.