support removing old file