clear buffer file at program start