added support for converting multiple filetypes and fixed newline removal