Method “addItem” function addItem(file) Adds a item to the collection. Parameters NameTypeDescription