check format of all files