Smaller bugfixes

When trying to read from empty or missing file the MsgBox will appear.