Added file transfer functions