added license
free files_array