title: Using files as an input in java
body: <p>I need my program to run by using "java RunProgram list" command, RunProgram is the name of the main class of my program and "list" is the text file I'm using. Question is, what do I need to do in my program in order for that to work?</p>