comments and portability

Changed to remove hard code path and column key, added comments, made
sure to close file after updates