final boolean endsWith = !all && token.startsWith("*");
if (endsWith) {
token = token.substring(1);
}
final boolean asDir = path.hasMoreTokens();
final VirtualFileFilter filter = new Filter(token, all, startsWith, endsWith);
final String hostUuid = getChannelMaster().getUUID();
/* possible now b/c of change to follow sym links */
if (asDir) {
Iterator<VirtualFileReference> files = ref.listFiles(filter);
if (log.isTraceEnabled()) {