Changed from/read_stream to read. Takes a StringIO or String, and a file-type symbol.