view function

View a File or Directory