fromPath

Creates a CodeSource from a Path. Will use the base filename as the name.

Return

The created CodeSource.

Parameters

path

The path to the source.