Remove duplicate file resource.