Added support for uploading files.
Add TODO list
Added unit test for insertFile
Formatting and whitespace