added checkDiscard file