main options: add possibility to specify target file type