DirTree was not using the proper filename for adding fields to documents.