Fix iqdb

file was getting deleted before it got used