Check orphans regex matches the file path instead of filename