private void createFromString(String s) {
		this.initialFile = s;
		String[] recordLines = s.split("\n");
		int lns = 0;
		for(String sr : recordLines) {
			if(sr.startsWith(":")) {
				lns++;
			}
		}
		records = new HEXRecord[lns];
		for(int i = 0; i < records.length; i++) {
			if(!recordLines[i].startsWith(":")) {
				throw new RuntimeException("Invalid File!");
			}
			records[i] = new HEXRecord(recordLines[i]);
		}
		length = records.length;
	}