added viewing of files