Create CSV file from directory API call.