Opening files now automatically returns to previous screen