no need to update nextFileNumber before saving a local file (it is updated later, unless user cancels the saving)