How to recover my changes that I accidentally saved as .geojson

I found a suitable copy of my work in .local/JOSM/autosaves.