added fileReader for addtab form. i do not understand anything about it though