Since "f" is the name of a variable in the example will be nice using `f`.

What about replace "creating file handle called f" with "creating file handle called, in the example, `f`"?