How to get the filename from the given file path string?
For example if I have a filepath string as
file:///Users/DeveloperTeam/Library/Developer/Co
Swift 2:
var file_name = NSURL(fileURLWithPath: path_to_file).lastPathComponent!