Added extra config DSL methods for file sources and a test case for class path file source