We would like to remove segments loop so we need to refactor our tools to use ranged loop. To simplify change ranged loop is used with single range only. https://github.com/storj/storj/issues/5237 Change-Id: I94d96d54f9d0e37b06def4f4fc16b71c5b79baba
This helps to cleanup the cmd folder a bit. Change-Id: I24025c3dbfd35966325d7d5aaa95cd9a1176a8b7