Run function to go through the steps automatically. Just add $filename and $destination and we're set.