public Iterable<String> updateDataList(SaveType type, boolean returnFullName){
		//define our filter
		FilenameFilter filter = new FilenameFilter(){
			@Override
			public boolean accept(File dir, String name) {
				return (name.endsWith(ext));
			}
		};
		
		//get the correct directory based on input SaveType
		File dir = null;
		switch (type){
			case PLATE_SPEC: dir = new File("data/plates"); 		break;
			case EXPERIMENT: dir = new File("data/experiments");    break;
			case TASK: dir = new File("data/tasks");				break;
			default: System.out.println("Not a valid save type."); 	break;
		}
 
		//if we can't find plate specification directory, say so
		if (dir.isDirectory() == false) {
			System.out.println("Directory does not exist.");
			return new ArrayList<String>();
		}
 
		//list all the files and filter by the extension
		String[] list = dir.list(filter);
 
		//if no files exist
		if (list.length == 0) {
			return new ArrayList<String>();
		}
 
		ArrayList<String> returnList = new ArrayList<String>();
		
		//add every file in our list to the returned ArrayList
		for (String file : list) {
            if (returnFullName) returnList.add(dir + "/" + file);
            else returnList.add(FilenameUtils.removeExtension(file));
		}
		
		return returnList;
	}