transferLibrary - added  as.path() to file directly