another patch to dupfiles