fix of sed's file split.
associative array. TODO: find a better implementation.