Reset form on each loaded file