clear old file