private void loadFile(File file) {
		BufferedReader input = null;
		try {
			 input = new BufferedReader(new FileReader(file));
			// read the column names
			 String line;
			 while ((line = input.readLine()) != null) { 
				 Object[] rowData = {line, ""};
				 model.addRow(rowData);
			 }
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			try{
				if (input != null) input.close();
			}
			catch(IOException ignored) {}
		}
	}