fixing bug where cant open file view was stuck on all files