open the correct file when editing