writing new files if they don't exist, and using set_content_from_file