Yes, there was a thread on this not too long ago in the Reports Forum. The thread is "https://community.workfront.com/p/fo/st/topic=62&post=5068#p5068" here . Polly is the person who gave the answer. To answer your question here though, I have a report that has 2 prompts where I can enter part of the document name, and the Project name, and it will bring me back information on the document, including the folder it's in and the parent folder if there is one. Here is the mode courtesy of Polly:
For Folder name :
displayname=Folder Parent listmethod=nested(folders).lists textmode=true type=iterate valueexpression={parent}.{name} valueformat=HTML
For Parent Folder Name:
displayname=Folder Parent listmethod=nested(folders).lists textmode=true type=iterate valueexpression={parent}.{name} valueformat=HTML