added write to file
add filepath