fix for read file by using the view object this will fix reading encrypted files