add file
array implemention