Fixing typo in the file read example

- variable f -> file