Update Code example to fix "basefile" error

Readme example creates a var basefile but then tries to access a var called just file.
Also "renamed" the file to "filename.csv" in basefile to better show what this does