app reads two files