Added ability to use java configuration for batch jobs
Fixed file name case