improve viewfile handling
indentation style changed to match existing source
1 file changed