file upload fix - BIT-195

Signed-off-by: Vladimir Vidinliev <v.vidinliev@gmail.com>