Explore more advanced data structures in Python and how to handle them with some basic file operations