before adding file transfer