We construct a family of analytic discs attached to a real submanifold M ⊂ C N +1 of codimension 2 near a CR singularity. These discs are mutually disjoint and form a smooth hypersurface M with boundary M in a neighborhood of the CR singularity. As an application we prove that if p is a flat-elliptic CR singularity and if M is nowhere minimal at its CR points and does not contain a complex manifold of dimension (n − 2), then M is a smooth Levi-flat hypersurface. Moreover, if M is real analytic we obtain that M is real-analytic across the boundary manifold M .As an application of Theorem 1.1, we solve an open problem regarding the regularity of f given by Theorem 1.2 at q 1 , q 2 , proposed by Dolbeault-Tomassini-Zaitsev in [3]. By combining Theorem 1.1 and Theorem 1.2, we obtain the following result