Changes to accept directory which stores config file as one of the param

Fix for [FLUME-2573](https://issues.apache.org/jira/browse/FLUME-2573)