added hash_filename and compare