first working version only for local disks
moving a written file to remote hosts fails
added: api usage and help