License files properly.
Show directories in the list first.