File transfer working now (not debugged yet)