Searching file from current working directory up until root or user home directory.