Fix constan in uploadFile function.