Added use of config file to biviewer.py

copied from pdf_biviewer.py