improve FileTypeToggle with prompt as necessary