Bug fix: addFile schema requires file field to be filled