How to create a file in Swift

Using the following code you can create new file in XCODE playground