modified migration class to add dynami filepath variable