Bugfix: restoring backup files