Updates after changes in file API.