Fixing compilation issue due to missing method in 3.4.x. Changing getConfigFile to getConfigResources