Report that returns files in specific state and user who put them in that state

I am hoping someone may have created a report like this or something close.  I am looking for a report that returns files in a specific state and the user who transitioned the files into that state.

1. Prompt for folder to search in

2. Prompt for State

Column 1 - State

Column 2 - User who transitioned file into that state

Column 3 - Date/Time the file was transitioned to that state

SolidworksSolidworks Pdm enterprise Pdm