public static synchronized void initializeFile(String path, int length) {
		try {
			file = new RandomAccessFile(path, "rw");
			file.setLength(length);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}