is there nothing for this in the Qt file library?