removed the file counter business
do not add file if it didn't validate