Check your phone's documentation to see if the device's IR transmitter supports file transmissions.
Usually modern smartphones equipped with IR are only for universal remote control capabilities and are not capable of transmitting files like the older-generation IR-capable phones.