speed up by generating FileInfo only once