add readFile func + testing split ability