wrote function to check for "identical" files