added zip function, file prefix parsing