convertFile

fun <T : Any> convertFile(input: File, fromType: FileFormat<T>?, toType: FileFormat<T>, renamerContext: TemplateContext)

A top level function that is able to detect the medium and uses the proper processor to convert the input to the output type with the appropriate renamerContext assigned.