If the given location is a file rather than directory, source it.
update readme to show that loc can be a file