minor refactoring
added custom filename selection, fully functional but is not deactivated after loading.