; (2) in subparagraph (A), by striking and of the consequences, under paragraph (6), of knowingly filing a frivolous application for asylum ; (3) in subparagraph (B), by striking the period and inserting ; and ; (4) by adding at the end the following: (C) ensure that a written warning appears on the asylum application advising the alien of the consequences of filing a frivolous application. ; and (5) by inserting after subparagraph (C) the following: The written warning referred to in subparagraph (C) shall serve as notice to the alien of the consequences of filing a frivolous application. . (b) Conforming amendment Section 208(d)(6) of the Immigration and Nationality Act ( 8 U.S.C. 1158(d)(6) ) is amended— (1) by striking If the Attorney General and inserting (A) In general.— If the Department of Homeland Security or the Attorney General ; (2) by striking paragraph (4)(A) in subparagraph (A) (as designated in paragraph (1) of this subsection) and inserting paragraph (4)(C) ; and (3) by adding at the end the following: (B) Determination An application may be found frivolous if it is determined— (i) to be totally insufficient in substance such that it is clear that the applicant knowingly filed the application without intending to pursue the merits of his or her asylum claim solely— (I) to delay removal from the United States; (II) to seek employment authorization as an applicant for asylum pursuant to regulations issued pursuant to paragraph (2); or (III) for applicants whom have not yet had removal proceedings initiated against them under section 239, to seek issuance of a notice to appear in order to pursue cancellation of removal under section 240A(b)