Added support for ignore some file/folder patterns.