private String[] recursiveListFiles(String pathname, File file) throws IOException {
		// Name of the current subdirectory
		Message msg = null;
		pathname += "/" + file.getName();
		System.out.println("Current subdirectory: " + pathname);
		
		// Get list of contents as string[]
		File[] fileList = file.listFiles();
		ArrayList<String> fileNamesList = new ArrayList<String>();
		for(File f: fileList) {
			if(f.isDirectory()) {
				String[] filesReturned = recursiveListFiles(pathname, f);
				for(String s: filesReturned) {
					fileNamesList.add(s);
				}
				// recursiveListFiles(pathname, f);
			} else {
				fileNamesList.add(pathname.concat("/" +  f.getName()));
			}
		}
		
		// Convert string[] to byte[][] for message
		String[] fileNames = fileNamesList.toArray(new String[fileNamesList.size()]);
		return fileNames;
	}