improve error message when filepath and renameGroup not enabled.