Added secondary criteria for file synchronization