Added the ability to get only files of a given extension in BigTree::directoryContents.