document.directory file not read on device

on my device my app has to access the project sandbox and read a file in the document.directory. The simulator works fine but when my app runs on a device it opens up the sandbox and the document folder and my file but then fails to read the file.

Not really sure if this is the problem, but the filesystem on the device is case-sensitive.

Could that be the issue?

no no I have checked caps on everything. I figured it out though! I just delayed it from opening 2 seconds. so it works!

Not really sure if this is the problem, but the filesystem on the device is case-sensitive.

Could that be the issue?

no no I have checked caps on everything. I figured it out though! I just delayed it from opening 2 seconds. so it works!