delete old file and set default filesystem separator