only delete files if succcessfully transferred. Requeue jobs if error