initialize $dataArray. Averts Undefined variable: dataArray when writing seed file