Fixed files validation order