allow -c to be used with explicit file