Added creation of directories and files