Corrected open() parameters.