add fileReader function, but it doesn't work yet