removed remove_blank_line method as suggested and calling format method to format after removing comments.

removed remove_blank_line method as suggested and calling format method
to format after removing comments.