added support to exclude files in folders from profiling