Adding a class to manage the parent directory for the backup worker