Calculation in parse as well as local variables are a performance optimization.

When dealing with large files, its an unnecessary overhead to write to disk and then read it back to process.  Moving it to class variables means that memory is utilized for the lifetime of the object, where as making it local in scope allows memory to be freed earlier. So it makes it more scalable.