I'm attempting to look for a keyword of a text file within a directory then find out the whole name of the file using Python.
Let this keyword be 'file', but this text file in the directory is called 'newfile'.
I'm trying to find out the name of the whole file in order to be able to open it.