How to create a new file in iCloud Drive using Swift?

How to create a new file in iCloud Drive using Swift?

for example: 1.txt under iCloud Drive\Documents

"This is a test"