Make sure that the row exists
License is AGPL 3
Use with statement when writing to a file