Closing the file handle and refactored the code.
Closing the file handle and refactored the code.

arthurprs/aerospike-client-python,trupty/aerospike-client-python,aerospike/aerospike-client-python,trupty/aerospike-client-python,arthurprs/aerospike-client-python,arthurprs/aerospike-client-python,aerospike/aerospike-client-python,aerospike/aerospike-client-python,trupty/aerospike-client-python