added argparse; now accepts multiple reference files and cumulates them all