Removed dead code + added comments.
Renamed HostsContainer.get/put to get_file/put_file for consistency.