List and close opened files with a FS filter driver?

Dear Driver Gurus,

I need to accomplish two tasks:

  1. To get the list of open files on a disk.

  2. In some exceptional situations close this files
    (not yet fully defined what this exactly means to “close”
    a file).

I’m trying to figure out if this can be accomplished with
a file system filter.

Or maybe 1. or 2. can be accomplished without the need for
such a driver? Have standard filesystem drivers needed interfaces?

Thank you in advance for any clue,