delete old file, replace a new Thread demo of Linxu