Add option to exclude certain compiled files from json

Added the option to exclude certain compiled files from analyses, use parameter -e with a regex.

Maintains previous behaviour if only one parameter is passed, or if -e parameter is used, path parameter can be assigned with -p