moved createDocument() to angular but still need to call buildFileTable() when it's finished and the old createDocument() is still being used by the "create now!" link. Adjusted create script to accept $_REQUEST instead of $_POST and changed a var of $fileName to $filename