1) Pass "fileType" as an agr to render_exporters()
2) Change building of "options" array to make it more readable (for me)
3) Change the return type of detect()" from bool to string. The string
is file's extension.