File transfer fix