packageFromFile

Transform a path into a corresponding package name.

This should be a path to a file, as the filename will be excluded from the final package.

See also