Cleaned up devnode comparison logic.
Commented compare_files.