a simple way of interacting with uploaded files in a slightly more OOP way