Did you see the comment above? Why do you need to load this file here? You should just overwrite everything using form data when the form is submitted