I have a kernel driver that enum and close all handles (of type "File") of files present in a specific folder, and this is the code of reference about how start to