change file transfer to work from relative path