Replacing $filename with $f

I believe that $filename is too obvious