The program `txt.py` prints that takes in a directory as a command line parameter and prints all the files of a particular extension 

```
def printAll(path):
        for txtFile in glob.glob(path):
        print txtFile

printAll(sys.argv[1])

```

In the command line I type in `python txt.py /home/Documents/*.txt`

It prints only the first `txt` file.
How do I print all `txt` files in that directory given we pass the directory from command line?