public void serialize(MigratableProcess p, int i) {
		TransactionalFileOutputStream file = new TransactionalFileOutputStream(
				"ser/" + i + ".ser", false);
		try {
			ObjectOutputStream out = new ObjectOutputStream(file);
			out.writeObject(p);
			out.close();
			file.close();
		} catch (IOException e) {
			System.out.println("IOException\n" + e.getMessage());
		}
	}