Load a text file into a single property. Unless an encoding is specified, the encoding of the current locale is used.