When I try to read a file for example "some file name.txt". It gives me following error
"-[NSNull rangeOfString:]: unrecognized selector sent to instance 0x50736c8";
When I try to escape space characters or url encode the file name it fails to find the file. file.exists() returns false.
How can read such a file?