Split the config file upload methods into their own mixin to be used in multiple modules