Ability to transfer directories added, fixes #3