wrote result to file, but still can only lookup one symbol at a time