if file is not in db, fall back to restore file to the users root
only enable previews if the encryption is disabled
get trash size from file cache
fix mimetype detection, introduce fake etag to identify preview images