Trim Support

Adds support for trimming source file.

 On branch master

 Changes to be committed:
	modified:   improc