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;
 }
 public void SerializeProject(ProjectDTO projectDTO, string fileName)
 {
     IFileDAO projectDAO = new ProjectDAO ();
     FileStream fileStream = new FileStream (fileName, FileMode.Create);
     projectDAO.Serialize (fileStream, projectDTO);
     fileStream.Close ();
 }