adaptation for ?-file.txt