use composer filesystem util instead of homegrown solution