The Suffolk County District Court building in Ronkonkoma will remain closed next week following a fire that broke out Thursday afternoon.