outined each flag's function,
included a logic guide in each function's comments,
did initial opening and checking of archive an initial checking of
file existance for quick append