update duplicate file handlers