file tranfer small bugfix