index_files can be passed a boolean