Asking for a help with creating a collector which will take information from text file

Yes, it is possible.