major update

add filename template param
add tests
0.6.0