make $partial static to make sure that it is accessible across multiple instances
set required values, mimetype and mtime