added setFileView method to offer a file without the force download