Adding patter in order to ignore pdf files