Adding an else to handle the case when `presentation` and `filename` are both None is extra safety, in case the developer makes a mistake.