bug: fix file sending
+ refactor rt/st stuff
Merge branch '4DA-master'