Remaining files are resetted using dp