main.py now uses argparse to take the text file and output dir as arguments