unifying file and commandline options