working but not split files