Open dir now opens the proper directory when file is missing