Fix upload file warning

Fix #4