unix file types and updated scanner to work on everything except string errors
all cases pass, all outputs match .outs