added tab conversion and file support. fixed double quote issue on windows