Changed primer check to put the trimmed file in the cwd