check for file before adding aliases, hash wasn't working for some reason