check files structure