change to first open file directory