Altered the write file command to overwrite the inventories.txt file
Should now overwrite teh entire file with the single user's documentation