public Vector<String> readScriptFile(File f) {
		Vector<String> actions = null;
		BufferedReader reader = null;
		try {
			if (f.canRead()) {
				actions = new Vector<String>();
				reader = new BufferedReader(new FileReader(f));
				String line = reader.readLine();

				while (line != null) {
					actions.add(line);
					line = reader.readLine();
				}
			}
		} catch (FileNotFoundException e) {
		} catch (IOException e) {
		} finally {
			if (reader != null) {
				try {
					reader.close();
				} catch (IOException e) {
					// do nothing
				}
			}
		}

		return actions;
	}