support filtering contents of file and fileTree dependencies