Parser divided into clossplatform part and console part (with File IO related operations)