Fixed adding an empty line at the end of file after method creation