fix crash when fileSavingAllowed is False and file is received