Fill out a form and save the file in Swift.