title: How to find a filename that contains a given string
body: <p>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.</p>
  
  <p>Let this keyword be <code>'file'</code>, but this text file in the directory is called <code>'newfile'</code>.</p>
  
  <p>I'm trying to find out the name of the whole file in order to be able to open it.</p>