Move files_compare() function to test commons