add file name input and aggregation