generalized alias_file into a variable, for more universal use