replace file by new work