delete open file