Umbrel was deleted while trying to set up Wi-Fi

I tried set up connection via Wi-Fi. I added file into boot and start Umbrel. Unfortunately, Umbrel didn’t connect to network so I shutdown it and plug SD to computer again. File was deleted from boot.
I decided connect Umbrel via cable again. Suddenly Umbrel connected via Wi-Fi and cable at the same time (I saw it on the router). When I wanted to access umbrel.local, Umbrel took a long start and finally a wizzard appeared to initialize the node. Node was completely clean. Now I’m downloading the whole blockchain again.
I’d like to set up a Wi-Fi connection, but I’m afraid it’ll turn out the same way. Does anyone know why this happened?