No need for f.close() when using "with" statement.