Handle files with no extensions.
Handle files that don't contain the separator.