Fixed QFile open, opens file each time now.