added collision filtering to file format