public ProjectDTO DeserializeProject(string fileName) { IFileDAO projectDAO = new ProjectDAO(); FileStream fileStream = new FileStream(fileName, FileMode.Open); ProjectDTO projectDTO = (ProjectDTO)projectDAO.Deserialize(fileStream); fileStream.Close(); return(projectDTO); }