Why cannot we use the same approach with files/dirs?