pass files through arguments