check how many files in the directory if < x, show the files instead of just the directory
check how many files in the directory
if < x, show the files instead of just the directory