input of path is array
make readFile async