code: public static DocFile createFileForDirectory(Configuration configuration, String file) {
          return DocFileFactory.getFactory(configuration).createFileForDirectory(file);
      }
docs: Create a DocFile for a directory.