version 1 works on original files. version 2 on processed files