public void insert(Hoot thing) throws IOException{
		FileWriter out = new FileWriter("hootFile.txt",true);
		try { 
			out.write("{ " + thing.getUsername() + " ");
			if(thing.getHootStatus() == true){
				out.write("1");
			}
			else {
				out.write("0");
			}
			out.write(" STARTTHEHOOT " + thing.getHoot() + " ENDTHEHOOT ( ");
			//Make an array of strings from the hoot of individual words in hoot
			String parts[] = thing.getHoot().split(" ");
			//int partsSize = parts.size();
			//find all tagged users
			for(String str : parts){
				char[] word = str.toCharArray();
				if(word[0] == '@'){
					out.write(str.substring(1) + " ");	
				}
			}
			out.write(") [ ");
			//find all tagged users
			for(String str : parts){
				char[] word = str.toCharArray();
				if(word[0] == '#'){
					out.write(str.substring(1) + " ");	
				}
			}
			out.write("] }\n");
		}finally {
			if (out != null){
				out.close();
			}
		}
	}