solved errors in scap and created script to partition files