I have an API(many, actually) that parses various text files and inserts them to the database. I have been able to generalize every aspect of this code, except some API\'s which