accept file name as arguments