split file and upload to slave