Files in folders are created correctly