use filename argument