refactoring
refactoring
improve correctness of fileUtils
move path to app.go
add unit tests
Revert "move path to app.go"

This reverts commit cb19a249d0ffe6ddd2e4496dbc1298ad530d1eba.