Update fileprocessor.js