I want to use properties file to set the file variables instead of hard coding. Therefore, I have the piece of code as below
line 74 (hardcoding the file name) works fine.
but line 75 (using the file string from properties file) is not.
When the invocation is made at line 78, runtime error occurs.
The file name strings in both cases are actually the same.
Can somebody help and thanks in advance.