WN-11. files upload fixes