Added methods to backup and restore files