Improved imdb script : manage a list of files and a TOC