Redid algorithm up to placing files in student folders