This API offers some simple functions to manage file extensions. Some of you may remember this from my discontinued File Extension Mod. I figured I could at least recreate the API, and I even improved it a bit.
Functions
Spoiler
Download
http://pastebin.com/zHh4y7c9
or "pastebin get zHh4y7c9 ext"