Hi Marcin,
If you just need to pass the file, you don't need ESR objects. Here an example scenario FILE to FILE without ESR objects.
http://****************/Tutorials/XI/File2File/Demo1.htm
To configure the SFT adapter, you can check this link.
regards