fixed some part of file transfering
Fixed prinlines