differentiate uploading string vs file content