Use environment engine for getting path to public/private files dirs.