altered tarbar method generated filename to be confgurable