The skin of file snakes protects from dehydration because it is hygroscopic, absorbing moisture from the air.
“The granular skin of Acrochordus is hygroscopic and imbibes water which moves rapidly over the body surface through interscalar channels. Consequently, the integument is easily wetted to bear a superficial aqueous film = 5.4 mg water per cm² of skin surface. Although file snakes are aquatic, they can become entrapped in drying ephemeral pools and have been observed on tidal mud flats where they are potentially exposed to intense heat and dehydration. Superficial water films, therefore, have a potentially important biological role in reducing dehydration of skin or body while extending the time available for terrestrial sojourns between areas of water.” (Lillywhite and Sanmartino 1993:99)