rapid7/metasploit-framework — pull request #739 by jlee-r7 (2012-08-29 21:29:50+00:00)
Title: Add a File.open method for meterpreter

Same semantics as Ruby stdlib File.open - if you give it a block, yields
a new File object and closes it after the block, otherwise same as
File.new.

[FixRM #6481]