machine depandent file format checking