Fixed file parse and upload.

Added file parse error output with errors from client-side.