Added @path annontation to perform path mapping.

* Made changes in perform.rb to visit path directives
to map files.
* Made changes in import.rb to replace the mapped file.