Ensure file handle is closed using with statement

This changes ensures the file handle of the README file is properly closed.