If an absolute path to a file is passed, we should use that first before looking for it from the current working directory.