Improve variable names for readability.
Print better status, dump to json.
Better filesnames.
Make into functions.
Add another test.