refactor dir file bits