fixes #251

The path variable should be used and not the backup_path variable since "all_files" returns full paths.