Panel: Clean code for creating new text file
And use global actions for creating new text file and directories in panel context menu.