add formatter class
writer with format
add for OutputStream
add for file
add for file path
refactoring
add formatter