added model to output list of files for index