Added a test for parsing files that have been uploaded, and fixed some bugs that I discovered as a result