implement file hashing function to check weather the file is already in sync or not, so further it would be so accurate to check files