implemented an option '-f <config filename>' for more flexibility with its
configuration.