is this still necessary? Or is there a missing debug statement above `file`.