Enhancing UserFileDao: adding a documentation and functions to write users to the file