Fixed code to have the backend process work with the new file system layout