title: How to fetch file path dynamically using pyspark
body: <p>I have multiple files in my folder , i want to pattern match if any file is present , if that file is present then store the variable with whole file path.</p>
  <p>how to achieve this in pyspark</p>