Fixed file parsing for numbers and booleans