Changed logsearch controller to iterate over all .txt files in directory