controllers/file.js - Configurability and default document