Use a local scalar for the file handle.