txt file query in CLI