added filewrtier class