Create splitFileByCriteria