added ability to remove snippet, and place it before or after a specified location in the target file