Ignore pdf files in uploaded directory