still having problem with txt file though, I set -i file.txt and it is still empty
-i is only the IN file it will not be changed. Use -o OUT file for putting potential results in a file instead of the command line output.
my mistake, of course it was -o file.txt command. still nothing though