Add or update a filename at the specified index. If the index is greater then the number of source file, it will add empty filenames to fill up to the specified index. The timespan and MD5 will be computed.