private File getFile()
	{
		JFileChooser fileChooser = new JFileChooser();
		fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
		
		if(fileChooser.showOpenDialog(null) == JFileChooser.CANCEL_OPTION)
			return null;
		
		File file = fileChooser.getSelectedFile();
		if(file==null || file.getName().equals(""))
		{
			userInterface.displayInfoMessage("\nInvalid file name");
			return null;
		}
		
		return file;
	}