Check STDIN for file