Simplify command

for the moment I didn't have better idea how to shrink the contents of dependencies.file but to filter lines where a package name belongs to the set of indirect packages.
this probably needs more test cases and docs and stuff
do we already have Save() method on the DependenciesFile?
Could take good use of this in Add command.