reverse file name and repalce hint words with py