create tmp file before
fixed array from config