don't crash if filename isn't convertable to an integer