Fixed file path indexing in scan.py.  Updated docs.