handler = open('/etc/passwd', 'r')
try:
    for line in handler:
        print line,
finally:
    handler.close()

