*/
private String[] getFileList()
throws IOException, ProtocolException {
protocol.write(protocol.new FileListReq(), channel);
FileListResp fileListResp = protocol.read(channel,
Protocol.FileListResp.class);
String[] fileList = fileListResp.getFileNames();
Arrays.sort(fileList); //sort the file names in ascending order
backupFileCount.set(fileList.length);
return fileList;
}