Unreal engine file does not have an associated app

I manage to get it to work by opening the .uproject file through the path Epic Games\UE_5.1\Engine\Binaries\Win64 then in the application UnrealEditor