tidied up code for finding partials, copying files and removed fileOps