all filenames become lowercase and one bugfix with directories