Reworked compare function to allow users to specify what they want to check for. Defaults to name, size, and hash.