101102103104105106107108109110111112113114
{ if (path.isDirectory()) { final File[] swcsInFolder = path.listFiles(SWC_FILTER); for (final File file : swcsInFolder) swcFiles.add( new FileID(file)); } else { swcFiles.add(new FileID(path)); } } return swcFiles; }