exception if file not saved