Added finally block in FileEntity.