send and handle array of files