Cleaned up code, used external filestore for writing and reading csv files, used an exception for input that was equal to 0 and greater than 125 chars