Using realpath for __file__ so symlink is possible