How to create and delete files in the Mac terminal