Testing creating a file while creating a folder