format the code with auto format feature of eclipse.
Fixed "null" value when offset parameter is not exist in viewFile page.