Extract problems into its own file.