public void addPostToFile(Post newPost) {
		try {
		BufferedWriter out = new BufferedWriter(new FileWriter(file, true));
		
		out.write(newPost.toString());
		System.out.println(newPost.toString());
		out.close();
		}
		catch(Exception e) {
			System.out.println("Error: " + e.getMessage());
		}
	}