Compress the pathing for pjdfstest by a directory