Added copy task to gradle to facilitate deployment
Added example to test file source
Fixing bugs in file source