implemented a function to remove old configuration files in helper.setup module