added -file option