lower-case the file extension. failed for me on .PNG
add method xml doc comment
Add --force arg to ignore whether prev. processed file is in cache. Rename cmdline args meanings. Create smaller methods.