If you constantly loose the file you had open because you clicked on another one, here's the solution.