setView has been extracted from showFile