How to use $ python3 index.py # or $ python3 index.py --read file.txt # or $ python3 index.py --read file.txt --write out.txt