Below is my code which is used to check whether we have duplicates or not if they are already there in database it should not insert of those files which are in database and inserts remaining files into database but what is happening with my below code is it is inserting all the files again already if i have them in database but it should not insert those files which are already in database and insert the files only which are not in database