Implemented file compare functionality