create inventory file with attributes