changed prefix to strip directory