Made an optimization to avoid unnecessary transformations
Removed the use of the inmemory flag (doesn't seem to help)
Added the option to run the profiler
Added an option to load the file into memory

This didn't make any difference in my benchmarks.
Updated benchmark results once unnecessary transformations were removed