uses listdir to list files/dirs in a dir, and filters the ones that were modified after a given time
if the provided dir has subdirs, those are also checked, and so on
Arguments:
filePath is the path to the dir/file to check
lastTime is the time to check against
exclude is a list of files/dirs to not to include in the check
uses listdir to list files/dirs in a dir, and filters the ones that were modified after a given time
if the provided dir has subdirs, those are also checked, and so on
Arguments: filePath is the path to the dir/file to check lastTime is the time to check against exclude is a list of files/dirs to not to include in the check