Add realpath to file