converting office directory to html view using sed