fixed the file transfer, now maybe optimize