Bug with var name fixed
Changes in output and filter of filename for convert.