Read the file encoding from the ENV variable