Doesn't work if the file's extension is capitalized
The tool currently only works with files with lowercase extensions. I've looked at the code and there are two places that needed changes: find_files and get_commands. I'll leave the latter up to you as I'm not sure how to write that part respecting the code's functional style.