Update to file directory 507

update to file directory