better format for logger
tidy up logging in CLI
raise appropriate errors if input files not found