code: public static String toXML(final String aFilePath, final String aPattern, final boolean aDeepTransformation)
              throws FileNotFoundException, TransformerException {
          final Element element = toElement(aFilePath, aPattern, aDeepTransformation);
          return DOMUtils.toXML(element);
      }
docs: Creates a string of XML that describes the supplied file or directory (and, optionally, all its
  subdirectories). Includes absolute path, last modified time, read/write permissions, etc.
  
  @param aFilePath The file or directory to be returned as XML
  @param aPattern A regular expression pattern to evaluate file matches against
  @param aDeepTransformation Whether the subdirectories are included
  @return A string of XML describing the supplied file system path's structure
  @throws FileNotFoundException If the supplied file or directory can not be found
  @throws TransformerException If there is trouble with the XSL transformation