Changed charbuffer to allow for variably long input.
Added Handling of dot char.
Completed file parsing.