Check for null and stream files