FEAT: added compare function for file! and url!

FEAT: rearragement datatype! ID.
FIX: wrong result when compare two strings.