simple script that checks for duplicate uploaded files