fixed handling of file types (no longer interpreted as regular expression)