Apparently you've left a space between fclose and its open-paren.  This is harmless, and you've done it in one or two other function calls (I think), but it's inconsistent with most of your function calls not having such spaces.