move path manipulation logic to a dedicated class
use PathUtils in AssetDirectory