path = "|strange-name.txt" str = File.open(path) {|f| f.read}