Ignore binary file when match pattern