ProcessFile: allow duplicate names for folders