cleaned
write data to file
merged changes