Delete reference to old file