Custom headers for files matching regex

- Added functionality to set custom headers when uploading a file matching a custom regular expression