handling stats for index-only files loaded from the listings