changed file indexing for thumbs