reference file type in index now