updated arguments in test, now can select a file from shell