Add index_file_check functionally.