How to create files and directories