Updated LOAD to create index file when specified.