Instead of using Insertfile, have you considered copy & paste? Check out the different paste options - one of them retains the source formatting.