How to Create a file - Mikrotik Script RouterOS

In v3.x it is not possible to create file directly, however there is a workaround

/file print file=myFile
/file set myFile.txt contents=""
wiki/Manual:System/File