Fixed an error where local file was processed instead of URL