Simply open the file using universal newlines. Update docstring to match signature.