change option inplements
add unique file path function
Add some parameters