Fixed file uploads

Fixed files uploads