re-structure list of documents in bsc.php