Code Cleanup

Slightly cleaned up the code to expand the files. Moved sendFile to
server.