only call load_source if path is a file

Allows -c [name of dir] to work properly.