File close operation using invalid file object

Suppose to use the file object for the the close method.
Found during testing and have corrected it.

Change-Id: I9d80dda6b6211cbeec7740f2a951eef765f9761e
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
1 file changed