Different from sandwich cookies, filled cookies are baked with a filling. The one rule that makes for successful filled cookies:
Never stretch the dough around the filling. It is far better to leave a tiny gap than to stretch and have the dough crack or pull away from the filling.