handle svg properly
check for duplicate file names