add option to exclude files in a manner smiliar to logstash