send seg files to cloud without hard code dir len