remove last file and folder from OSC.