Ensure file is loaded as a string.