Python script to search for keywords in subdirectories