This method should be moved to nightly.js where you instantiate and work with the ini files. I don't see why it should be in the variables.jsm.