title: get filename and extension of files in hdfs with Python
body: <p>Is there an equivalent of the <code>os</code> module in Python do read the filesystem (hadoop 2.6)?</p>
  
  <p>In particular I am interested about getting extension of a file and base name (not including the full path).  </p>