Split inventory file by environments