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=""
Credit: https://wiki.mikrotik.com/wiki/Manual:System/File