} else {
                            //a file
                            fileBuffer.append(remotePath);
                            if (!remotePath.endsWith(BACKSLASH))
                                fileBuffer.append(BACKSLASH);