Determines the extension for the given file.
| file |
the file for which to get the extension |
| normalize |
if the returned string should be normalized (i.e. case-converted down) |
|
the file extension string, or null if the file does not exist, is a directory, or there is no file extension |