added some basic functions to compare files and their metadata