views.py: implemented whole file search from query