'Add a file entry to the model.'

def add_file(self, parent, path):

    row_items = self.create_row(path)
    name_item = row_items[0]
    name_item.setIcon(self.file_icon)
    parent.appendRow(row_items)
