removed erroneous rects
filenames can be constant in template