added exception; modified log file path