remote url replaced with file upload