Naki's method is good, so if you're happy with that then it's all you need.
If you need something slightly different, or just want to see alternatives, here's a discussion of various different ways to create and/or edit new files: How to Create New/Empty Files