Abstract file manipulation
Summary
We should abstract how we manipulate local and remote files.
There's several places where we manually manipulate files without sanitizing the parameters passed and checking against directory escaping. Ideally we would have a central implementation that all of these places would use.
Maybe all artifacts and/or uploads should have a #delete
method?
Edited by Matija Čupić