Filenames may contain '/' and '\'.