Use the NSURL class method fileURLWithPath: rather than URLWithString to prevent the app from crashing if there are spaces or special characters in the filename