array of files schema fix