store patch id's, files and branches in variables instead of files
wip