fill in name in after opening file and added confirm for new files