For AddAttachFileToArea parameters are: file,area,encoding
For AddAttachFileToArea2 parameters are: file,area,newline,encoding
For AddAttachFileToArea newline parameter is true by default, in AddAttachFileToArea2 it's possible to pass false.
Hope this helps