Fix file uploading after rebase

Thank you for the rebase. This is small required post-rebase fix.