change open file way

Conflicts:
	lib/sunspot/rich_document.rb