docs: public static List<DesignDocument> fromDirectory(File directory) throws FileNotFoundException {
          List<DesignDocument> designDocuments = new ArrayList<DesignDocument>();
          if (directory.isDirectory()) {
              Collection<File> files = FileUtils.listFiles(directory, null, true);
              for (File designDocFile : files) {
                  designDocuments.add(fromFile(designDocFile));
              }
          } else {
              designDocuments.add(fromFile(directory));
          }
          return designDocuments;
      }