implemented 'inventory_file' variable. Closes GH-3789.

Implemented GH-3789.

Cheers 
René