Close file in method isGraph.