Copy contents of .csv -> open Google Drive file -> paste lal conta

I have a script that scrapes data in a table with 36 rows and 34 columns.

I am trying to get it to do something like:
Copy contents of file.csv
Open https://docs.google.com/spreadsheets/d/XXX/edit#gid=XXX
Paste contents in A1 on that sheet

I am at a complete loss as to whether this is even possible - any guidance from the experts here?