This simple hook allows you to index downloaded media files.