updating iOSConsole with new AFC code
adding test for file read
code formatting
fixing error codes