simplify getData/sendFile
changed zipFile not to require (server), but now requires diskcache after first require. Maybe there's a better way still