addFiletoList added

Allows testing of indexer faster.