created logic to use ProcessManager and actually clip the file