Added ability to provide file extensions to exclude