Add swapFiles and sshswap functions