Respect path when uploading