adds param to respect regular files only
Merge branch 'master' of github.com:mlessnau/bash_folder