Finally sorted out the issues with file-service.js and file.js. SHEESH. That was nasty.