Code cleanup - added def for ogr file create