Move filenames declaration to general location
Add json files
Write to json inside populate_dicts()
Update lists