feature: added a function to write feed to file.