Costs.
When an information is filed by the prosecuting attorney, he or she shall not be liable for the costs, but when it is filed upon the relation of a private person such person shall be liable for costs unless the same are adjudged against the defendant.