Check if a path is a file. A path is considered a file if the last part of the path contains a period.
The path to check.
The separator for the path.
Check if a path is a file. A path is considered a file if the last part of the path contains a period.