Try using "stdio" to input your file, not "args". Add this line to your configurations:
"stdio": ["words5.txt"],
Hope that helps!