Can I add a couple of text files in Xcode for write and read

I'm using Xcode for developing in C++ language. Is it possible to add a couple of txt files to write and read from them? It is a very cool feature to test a project in a lot of tests.


Go to File → New File or type +n. Under iOS or OS X select Other and click Next. You will be asked to give a name to that file. Call it whatever.txt and you are done.