modified to add a relative prefix of current directory