use boost for programm options, use sync file writer