Clean up File Edit form

From #2719.