title: Getting just the file name from full path
body: <p>I need to get from a full file path just the name of the file. I've tried to use:</p>
  
  <p><code>$out_fname =~ s/[\/\w+\/]+//;</code></p>
  
  <p>but it "eats up" also purts of the file name.</p>
  
  <p>example:</p>
  
  <p>for a file: 
  <code>/bla/bla/folder/file.part.1.file</code>,
  it returned:
  <code>.part.1,file</code></p>