Remove all the info except dependencies from configuration files