refactoring mediafile extension handling, adding in a bit more copy to the forms