split file in 2 and profiling