extract uploaded files