Instead of using a yml file for base_folder config - use a getter/setter on the module called: base_folder.