file i/o
type constants