there is no reason for this code (used in filegetcontents)