Search Path for file. Input: cwd if true, search current directory before searching path
See Implementation
Search Path for file. Input: cwd if true, search current directory before searching path