code: def cache_file(self, local_path, ip, path):
          
          destination = self.__destination(ip, path)
          atomicish_move(local_path, destination)
docs: Move a file from a temporary staging area into the cache.