I wanted to use QFile object because I thought is more understandable and "natural". But yes, you're right, I'm going to use a QString better.