Donald Trump due to appear in federal courthouse over secret