realpathing now the file and not the directory