A demo python script for sorting text files based on their content