The script can now properly handle files that contain nothing but stopwords