Checking if the file exists
NSError when there is an error writing the file in a iOS device
Write the file
Checking if there is a writing error
print statement if the file already exists
Remove the keyboard
Reading the file from the iOS device
checking if there is  there is an error reading the file