added condition for resume doc file