Fixed some variable naming issues, fixed some spelling errors in the comments, reduced the amount of code in the common file reading script, and referenced columns by name rather than by index