reset post files array in case it was already populated