Before now, it might have worked by accident if the return value from open() stayed in the function return area.