You could also use the native COPY command from KiXtart without shelling out.