Added file compare function