I'm very new to java when using command line arguments.

I was wondering about how accept both a file input and another string argument.

Such as

```
java myprogram thanks.txt forhelp

    if(args.length < 1) {
        System.out.println("Error, usage: java ClassName inputfile");
    System.exit(1);
    }

    Scanner in = new Scanner(new FileInputStream(args[0]));
    String s = in.next();

```

is currently what I have but 
I can only seem to get the input file to pass in.