Fixed the following bugs raised in RT:
      - 100606: Code in SYNOPSIS doesn't compile
      - 100608: method read_file() not closing file handle