title: How to get the filename from the filepath in swift
body: <p>How to get the filename from the given file path string?</p>
  <p>For example if I have a filepath string as</p>
  <pre><code>file:///Users/DeveloperTeam/Library/Developer/CoreSimulator/Devices/F33222DF-D8F0-448B-A127-C5B03C64D0DC/data/Containers/Data/Application/5D0A6264-6007-4E69-A63B-D77868EA1807/tmp/trim.D152E6EA-D19D-4E3F-8110-6EACB2833CE3.MOV
  </code></pre>
  <p>and I would like to get the return result as</p>
  <pre><code>trim.D152E6EA-D19D-4E3F-8110-6EACB2833CE3.MOV
  </code></pre>