removing package-installed files, automating manual process