Added loading document text itself
First query implementation