no unset file handle variable error