remove deleted filenames from the state file, recreate the state file every iteration to trim used space @coryvirok