added logic for a .alias file