Change arrays so they store the full path of the files