@Override
	public Document loadDocument(String path) {
		Document document = DocumentImp.getDocument();
			try {
				FileReader fr = new FileReader(path);
				BufferedReader reader = new BufferedReader(fr);
				
				document.clear();
				String line;
				while((line = reader.readLine())!=null && !line.startsWith("*")) {
					document.getTextIntro().addLine(new LineImp(document.getTextIntro(), line));
				}
				
				while((line = readSection(document, line, reader, document))!=null && line.startsWith("*"));
				
				reader.close();
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		
		return document;
	}