code: public ProjectFile read() throws MPXJException
     {
        try
        {
           m_reader = new AstaReader();
           ProjectFile project = m_reader.getProject();
           project.getEventManager().addProjectListeners(m_projectListeners);
  
           processProjectProperties();
           processCalendars();
           processResources();
           processTasks();
           processPredecessors();
           processAssignments();
  
           m_reader = null;
  
           return (project);
        }
  
        catch (SQLException ex)
        {
           throw new MPXJException(MPXJException.READ_ERROR, ex);
        }
  
        catch (ParseException ex)
        {
           throw new MPXJException(MPXJException.READ_ERROR, ex);
        }
  
     }
docs: Read a project from the current data source.
  
  @return ProjectFile instance
  @throws MPXJException