Move require('fs') onto own line to accomodate brfs bug