@Override
		public void actionPerformed(ActionEvent evt) {
			//clicked on browse button
			if (evt.getSource() == fileInputPanel.getBrowseButton())
			{
				//get filehandler object, change directory and populate input list
				FileHandler fileHandler = FileHandler.getInstance();
				File root = fileHandler.changeDirectory();
				
				//user closed the file dialog, do nothing
				if (root == null)
					return;
				
				try {
					setRootDirectory(root);
					
					//Attempt to detect series name and if successful, change the format field accordingly
					String name = fileHandler.determineSeriesName(root);
					if (name != null)
						centerPanel.setFormat(name);
					else
						centerPanel.setFormat(CenterPanel.DEFAULT_FORMAT);
					
					//format field now becomes editable
					centerPanel.enableFormatEditing();
							
					//Populate output file list straight away
					//output files is assigned here
					outputFiles = new ArrayList<VideoFile>(fileHandler.determineNewNames(inputFiles, centerPanel.getFormat()));
							
					fileOutputPanel.setListContents(outputFiles);
					
					
				} catch (SOException e) {
					//If the program fails to populate the input list, the status is set to the returned error message
					setStatus(e.getMessage());
				}
			}
			
			//clicked on convert button
			if (evt.getSource() == fileOutputPanel.getConvertButton())
			{
				if (fileOutputPanel.getOutputFileList().getModel().getSize() == 0)
					JOptionPane.showMessageDialog(null, "Output list is empty");
				else
				{
					for (int i = 0; i < inputFiles.size(); i++)
					{
						//rename files with exclusion check
						if(!inputFiles.get(i).isExcluded())
							inputFiles.get(i).renameTo(outputFiles.get(i));
					}
					//refresh input file list to reflect new folder contents
					try {
						setRootDirectory(inputFiles.get(0).getParentFile());
					} catch (SOException e) {
						JOptionPane.showMessageDialog(null, "An error occurred. Please contact Peter Pretorius (ERROR_CODE = 2");
					}
					
					JOptionPane.showMessageDialog(null, "Conversion complete!");
				}
			}
		}