Fixed issue with files without path processed from STDIN.