Renaming files and filling in Pythonic details