File can already exist if there was a previous problem running the script
Moved all the code inside the `if` statement
The script accepts a list of file_ids, and generates a list of documents from these ids. The documents are stored in a directory structure generated from the categories in the irb_documents spreadsheet