Split process in sub files