private void writeLinesFromFile(final SimpleFileMonitor monitor){
		
		try {
			final long length = monitor.getLastLength();

			final ArrayList<String> linesToWrite = Logger.readLogFile(length);
			for(int i=0; i<linesToWrite.size(); i++) {
				
				final String line = linesToWrite.get(i);
				if (line.indexOf("[INFO]")!=-1) {
					start(line,0);
				}else if (line.indexOf("[OPPR]")!=-1) {
					start(line,1);
				}else if (line.indexOf("[WARN]")!=-1) {
					start(line,2);
				}else if (line.indexOf("[SHOT]")!=-1) {
					start(line,3);
				}else {
					start(line,4);
				}
				
			}


		} catch (final FileNotFoundException e) {
			start("Log file not found",4);
		} catch (final IOException e) {
			start("Error reading log file",4);
		}
	}