public void LoadData(string filePath) { var students = fileReader.ImportData(filePath); var finalStudents = mapper.MapToStudent(students); foreach (var student in finalStudents) { if (validator.ValidateStudentRecord(student)) { var studentDiploma = fileWriter.CreateDiplomas(student); fileWriter.SaveDiploma(studentDiploma, student.FirstName, student.LastName); } } }