added extra logger function
added example for getopt
added deleteAllFiles to archive object