shell in progress
moved common tools to FileUtils