Really use File.open with a block