use -f required "option" for filename; more unit tests