add an option to exclude files