add id for each entry, return filename of saved file. run function makes it easier to integrate with external services