Added the .csv file + changed on error handling with console.error