Best Practice: Efficient Data Import

guess it would be cleaner to get a tmp folder path using tempfile instead of hardcoding /tmp...