Add wait time while writing file data.