For determining if a file exists: http://nshipster.com/nsfilemanager/