catch lower case file endings