Some fixes for the empty text files in the filemanager.