Renamed fileutil function