Implement fog for file uploading

@houndci @cgruppioni @georgetmayorga
Line is too long. [92/80]<br>Surrounding space missing for operator '=>'.<br>Space inside { missing.<br>Space inside } missing.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.