updated code for coded duplication / implementation of tuple to store files