Work great for txt files(tested) but requirements aren't correct. I need (big) piece od advice!