It would be helpful to describe what types these should be. For example, it appears that ``destination`` should be a file object, which isn't evident from the doc block.