Updated to read from agent file and write to db file
Merge pull request #1 from marcusmyers/testWriteToFileForInventoryInformation

Updated to read from agent file and write to db file