added function to get UTI of a file NSURL
filter UTI on the python side