How to load a folder of rdf files which are .txt extension?

I have a folder which has rdf files but the extension of those files is .txt.
I tried loading the entire folder at a time by the below command

 dgraph live  -f /home/data/   -U "xid"

I am facing this error

No data files found in /home/data/

How can I load my files using live loader?

You have to add the file explicitly.

dgraph live  -f /home/data/mydata.txt   -U "xid"

Dgraph will never look for .txt or other than RDF or JSON.