I know that the file exists, because I can download it, but I need to check to see whether it exists. I have tried using 

```
[NSFileManager contentsOfDirectoryAtPath:error:]

```

but it gives me null. I don't understand why that is because I can still download the files that I'm looking for. Maybe it's an incorrect URL, but the URL that I'm using is the one that I printed at creation of my UIDocument that I'm looking for. Maybe I'm using the wrong method?

EDIT:

I have also tried using NSMetadataQuery, and I can get it to give back notifications, but it doesn't ever have results even though I can explicitly download the files I'm looking for.