Batch .obj Decimate Script

Trying to make a batch obj decimate script, since my python is limited I don’t mind paying.
^ That’s the general idea

Needs to cycle through a folder of .obj files
Needs to work in Blender 2.7


I’m making a quick something (1.5 MB)
Here you go.
Run the blend file and execute the script, it will look for obj files in the “input” directory, import each one of them, add the modifier and export them to the “output” directory (which will be created)