Implementation of new logic for Manager.addFile() is completed.