overload

overload loadCsv so it works with a given File object, a String or a
dialog