Reading full results from database instead of files