There difference between getCsv() and getCsvFile() is below
get CsvFile() is
Retrieve a file container array by grid data as CSV
Return array with keys type and value
return array
getcsvFile used to export grid contain to an csv in magen to system in most of cases
and getCsv() is
Retrieve Grid data as CSV
and return string