So, I want to print the filenames numerically but it is not based on filenames. Instead I need to used number stored in each file? How do I solve this in python?