Added code for purge.
Cleanup apt-file code.