Conversion to Flask
Deleting files