handle cases where files are named the same