delete old file before generating new one