text: var pkgcloud = require('pkgcloud'),
    logging = require('../../../common/logging'),
    config = require('../../../common/config'),
    _ = require('underscore');
  
  var log = logging.getLogger(process.env.PKGCLOUD_LOG_LEVEL || 'debug');
  
  var client = pkgcloud.providers.rackspace.storage.createClient(config.getConfig('rackspace', 2));
  
  client.on('log::*', logging.logFunction);
  
  client.getFile(process.argv[2], process.argv[3], function (err, file) {
    if (err) {
      log.error(err);
      return;
    }
  
    client.removeFile(process.argv[2], file, function(err) {
      if (err) {
        log.error(err);
      }
    });
  });