Open a predefined edition depending on a file in main dir