check if file is open in flush method
listen on page.error event
remove unnecessary npm bin
refactor report file parsing/checking
add test data for casper