this is a clean tool in yc for both file or dir