public static void writeFileOaks(ArrayList<Oak> list1) {
		ObjectOutputStream os = null;
		try {
			os = new ObjectOutputStream(new BufferedOutputStream(new FileOutputStream("fw.txt")));
			os.writeObject(list1);

			// os.close();
		}

		catch (InvalidObjectException e) {
			System.out.println("Error7");
		} catch (InvalidClassException e) {
			System.out.println("Error6");
		} catch (NotSerializableException e) {
			System.err.println(e.getMessage());
		} catch (ObjectStreamException e) {
			System.err.println(e.getMessage());
		} catch (EOFException e) {
			System.err.println(e.getMessage());
		} catch (IOException e) {
			System.err.println(e);
		} finally {
			try {
				os.close();
			} catch (IOException e) {
				e.printStackTrace();
			}
			;
		}

	}