Directory and file comparation