Add -type option
Enable setting of explizit input file format and the desired output file format