Fixed update file by original filename.