Don't crash if there is no filename