I tried this and it doesn't get pushed to the array. I'm not sure if paths with spaces (" ") cause the push to fail
there was also where the file path is added and contains a forward slash instead of a backslash but I made a regex to flip it and it still didn't add to the array.