Avoid duplicate file uploads